﻿using EFCore.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SIService
{
    public interface CustomermanagementSI
    {
        //查询全部的客户
        Task<List<Su_Customermanagement>> Qu();
        //根据客户名称查询联系人和联系电话
        Task<Su_Customermanagement> QuName(int Name);
        //分页模糊查询
        Task<List<Su_Customermanagement>> FenYe(int pageSize, int currentPage, string Key = null, string Status = null, string Industry = null, string Person = null);
        //添加
        Task<int> Add(Su_Customermanagement cusAdd);
        //角色管理修改
        Task<int> Upd(Su_Customermanagement cusUpd);
        //逻辑删除
        public Task<int> UpdIsDelete(int id, bool isDeleted);
    }
}
